<?php

class CustomAggregate extends Aggregate
{

  public function __construct($name, IAggregateDefinition $definition)
  {
    $this->name = $name;
    $this->definition = $definition;
  }

}

?>